package com.smart.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smart.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("operate_log")
public class OperateLogDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 平台 */
    @TableField("platform")
    private String platform;
    /** 业务模块 */
    @TableField("module")
    private String module;
    /** 操作类型 */
    @TableField("type")
    private String type;
    /** 操作描述 */
    @TableField("description")
    private String description;
    /** 业务数据id */
    @TableField("biz_id")
    private Long bizId;
    /** ip地址 */
    @TableField("ip")
    private String ip;
    /** 变更前数据值 */
    @TableField("before_content")
    private String beforeContent;
    /** 变更后数据值 */
    @TableField("after_content")
    private String afterContent;
}
